<div id="product-list">
    <p style="color: green"><%= flash[:notice] %></p>
<p>
  <b>Category Name:</b>
  <%=h @category.name %>
</p>
	
  <table cellpadding="5"  cellspacing="0" >
      <%= render :partial=> "/posts/post", :collection => @posts.reverse %>
  </table>
  
<%#= link_to 'Edit', edit_category_path(@category) %> 
<%#= link_to 'Back', categories_path %>
</div>